package com.japp.sys.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.japp.base.BaseMapper;
import com.japp.sys.bean.UploadFile;

public interface UploadMapper extends BaseMapper<UploadFile>{

	List<UploadFile> queryListUploadAll(@Param("uploadfile")UploadFile uploadfile);
	
	List<UploadFile> queryListUploadByUpload(@Param("uploadfile")UploadFile uploadfile);
	
	UploadFile queryUploadById(@Param("id")int id);
	
	String queryUploadSplitByUpload(@Param("keys")String[] keys,@Param("fileFolder")String fileFolder);
	
	int deleteUploadById(@Param("id")int id);
	
	int insertUpload(@Param("uploadfile")UploadFile uploadfile);

	int deleteUploadByIds(@Param("list")String[] keys,@Param("fileFolder")String fileFolder);
}
